package com.bw.Service;

import com.bw.Bean.User;
import com.bw.Bean.UserPai;
import com.bw.Dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    UserDao dao;
    @Override
    public List<User> list() {
        return dao.list();
    }

    @Override
    public List<User> listNian() {
        return dao.listNian();
    }

    @Override
    public List<User> listYun() {
        return dao.listYun();
    }

    @Override
    public List<UserPai> listPai() {
        return dao.listPai();
    }
}
